<!-- $Revision: 15370 $ $Date: 2013-05-22 15:55:57 -0300 (Wed, 22 May 2013) $ -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../../../../../../lumis/doui/style/DouiControls.xsl"/>
	<xsl:output omit-xml-declaration = "yes" method="xml" />
	
	<xsl:template match="control[@type='lum_interfaceHeader']" name="lum_interfaceHeader">
		<h1>
			<xsl:if test="data/icon != ''">
				<img src="{data/icon}" alt=" " />
			</xsl:if>
			<xsl:choose>
				<xsl:when test="/renderData/douiContext/interfaceType/isAdministration='true'">
					<xsl:if test="data/serviceInstanceTitle!=''">
						<span class="lum-interface-title-breadcrumb"><xsl:value-of select="data/serviceInstanceTitle"/></span>
						<xsl:text> </xsl:text>
					</xsl:if>
					<xsl:value-of select="data/patterns/administrationTitle"/>
					<xsl:if test="data/setWindowTitle = 'true'" >
						<script type="text/javascript">document.title = "Adicionar Usuário";</script>
					</xsl:if>
				</xsl:when>
				<xsl:otherwise>
					<h1 style="font-size: 30px;font-weight: bold;color: rgb(37, 119, 142);letter-spacing: -1px;padding-bottom: 10px;">Editar Usuário</h1>
					<xsl:if test="data/setWindowTitle = 'true'">
						<script type="text/javascript">
							<xsl:text disable-output-escaping="yes">/*&lt;![CDATA[*/</xsl:text>
							document.title = "<xsl:value-of select="data/patterns/standardTitle"/>";
							<xsl:text disable-output-escaping="yes">/*]]&gt;*/</xsl:text>
						</script>
					</xsl:if>
				</xsl:otherwise>
			</xsl:choose>
		</h1>
	</xsl:template>
</xsl:stylesheet>
